import { request, RequestEnum, ContentTypeEnum } from "@/utils/request.js"

/** 
 * - 关注店铺相关接口 -
 */

// 添加关注店铺
export const reqAddShowAttention = data => request(`/shopAttention/add`, RequestEnum.POST, data)

// 删除关注店铺
export const reqDeleteShowAttention = id => request(`/shopAttention/delete/${id}`, RequestEnum.DELETE)

// 分页查询关注店铺信息
export const reqShopAttentionPage = data => request(`/shopAttention/select`, RequestEnum.POST, data)

/**
 * - 关注摄影师相关接口 -
 */

// 添加关注
export const reqAddAttention = data => request(`/attention/add`, RequestEnum.POST, data)

// 删除关注
export const reqDeleteAttention = id => request(`/attention/delete/${id}`, RequestEnum.DELETE)

// 分页查询关注信息
export const reqAttentionPage = data => request(`/attention/select`, RequestEnum.POST, data)